tools/xentop : replace use of deprecated vwprintw
authorChristopher Clark <christopher.w.clark@gmail.com>
Wed, 18 Jul 2018 22:22:17 +0000 (15:22 -0700)
committerRaspbian forward porter <root@raspbian.org>
Thu, 27 Jun 2019 17:16:25 +0000 (18:16 +0100)
commit545a2c7ea73b0fca17ffe02b145b150267a6a066
treec0d228a5ec26384bc6c50c922b99344216f75897
parent540e15181b81d6ae09127ce1355de16dc66dd9e8
tools/xentop : replace use of deprecated vwprintw

gcc-8.1 complains:

| xentop.c: In function 'print':
| xentop.c:304:4: error: 'vwprintw' is deprecated [-Werror=deprecated-declarations]
|     vwprintw(stdscr, (curses_str_t)fmt, args);
|     ^~~~~~~~

vw_printw (note the underscore) is a non-deprecated alternative.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Gbp-Pq: Topic misc
Gbp-Pq: Name tools-xentop-replace-use-of-deprecated-vwprintw.patch
tools/xenstat/xentop/xentop.c